package com.government.company.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.government.common.annotation.Excel;
import com.government.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 企业专利信息对象 t_company_patent
 * 
 * @author system
 * @date 2023-10-31
 */
@TableName("t_company_patent")
@Data
public class CompanyPatent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO )
    private Long id;

    /** 企业id */
    @Excel(name = "企业id")
    private Long companyId;

    /** 专利名称 */
    @Excel(name = "专利名称")
    private String name;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 申请号 */
    @Excel(name = "申请号")
    private String applyNo;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyTime;

    /** 公开日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "公开日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;

    /** 法律状态 */
    @Excel(name = "法律状态")
    private String status;

    /** 发明人 */
    @Excel(name = "发明人")
    private String inventor;

    /** 公开号 */
    @Excel(name = "公开号")
    private String openNo;

    @TableField(exist = false)
    private int no;

}
